package multipowny.ssrr;

public class Station extends Square {
	
	int squareID;
	String name;
	String set; //set van straten/stations/nutsbedrijven of belastingvakjes
	int buyPrice;
	int priceBase;
	int priceOwnTwo;
	int priceOwnThree;
	int priceWholeSet;
	int mortgagePrice;
	Player owner;
	
	public Station(String theName, String theSet, int theBuyPrice, int thePriceBase, int thePriceOwnTwo, int thePriceOwnThree, int thePriceWholeSet, int theMortgagePrice, int theSquareID){
		
		name = theName;
		set = theSet;
		buyPrice = theBuyPrice;
		priceBase = thePriceBase;
		priceOwnTwo = thePriceOwnTwo;
		priceOwnThree = thePriceOwnThree;
		priceWholeSet = thePriceWholeSet;
		mortgagePrice = theMortgagePrice;
		squareID = theSquareID;
		
	}

	public String toString(String theName, String TheSet, int theBuyPrice, int thePriceOwnOne, int thePriceOwnTwo, int thePriceOwnThree, int thePriceWholeSet, int theMortgagePrice){
		return name + "-" + set + "-" + buyPrice + "-" + priceBase + "-" + priceOwnTwo + "-" + priceOwnThree + "-" + priceWholeSet + "-" + mortgagePrice;
	}
	
	//set eigenaar
	public void setOwner(Player theOwner) {
		owner = theOwner;
	}

	public String getSet() {
		return set;
	}

	public int getBuyPrice() {
		return buyPrice;
	}

	public int getPriceBase() {
		return priceBase;
	}

	public int getPriceOwnTwo() {
		return priceOwnTwo;
	}

	public int getPriceOwnThree() {
		return priceOwnThree;
	}

	public int getPriceWholeSet() {
		return priceWholeSet;
	}

	public int getMortgagePrice() {
		return mortgagePrice;
	}
	
	public String getOwner() {
		return owner.getName();
	}
	
	
}




